package com.hejia.alauda.persistence.mybatis;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import com.hejia.alauda.entity.BonusReceive;
import com.hejia.alauda.persistence.BaseMapper;

public interface BonusReceiveMapper extends BaseMapper<BonusReceive> {
	
//	@Select("SELECT COUNT(id) FROM `bonusreceive` WHERE `create` AND `receiver`=#{receiver}")
//	int findCountByReceive(Map<String, Object> params);
	List<Map<String, Object>> findReceiver(Map<String, Object> params);
	
	List<Map<String, Object>> findRewardAmount(Map<String, Object> params);
}
